﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace 搭建EFCore开发环境.Migrations
{
    /// <inheritdoc />
    public partial class AddIDCard : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "IDCard",
                table: "T_People",
                type: "nvarchar(max)",
                nullable: false,
                defaultValue: "");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "IDCard",
                table: "T_People");
        }
    }
}
